<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: CPGraph: Class TCPGraphList</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TCPGraphList"></a><h1 class="cio">Class TCPGraphList</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td><a class="section"  href="#%40Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section"  href="#%40Methods">Methods</a></td><td><a class="section"  href="#%40Properties">Properties</a></td></tr></table>
<a name="%40Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="CPGraph.html">CPGraph</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCPGraphList = class(TObjectList)</code></p>
<h2 class="description">Description</h2>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObjectList</li>
<li class="thisitem">TCPGraphList</li></ul><h2 class="overview">Overview</h2>
<a name="%40Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#GraphListChanged">GraphListChanged</a></b>; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CPGraph.TCPGraphList.html#Create">Create</a></b>(View: <a   href="CPView.TCPView.html">TCPView</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#AssignGraphs">AssignGraphs</a></b>(AGraphs: <a   href="CPGraph.TCPGraphList.html">TCPGraphList</a>);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CPGraph.TCPGraphList.html#GetGraphNearPoint">GetGraphNearPoint</a></b>(Position: <a   href="CPBase.html#TCPPoint">TCPPoint</a>): <a   href="CPGraph.TCPGraph.html">TCPGraph</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CPGraph.TCPGraphList.html#Add">Add</a></b>(Caption: string; PlotFunction: <a   href="CPGraph.html#TCPPlotFunction">TCPPlotFunction</a>): <a   href="CPGraph.TCPGraph.html">TCPGraph</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#Draw">Draw</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#InvalidateGraphShapes">InvalidateGraphShapes</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#PlotStyleUpdated">PlotStyleUpdated</a></b>(const PlotStyle: <a   href="CPBase.TCPPlotStyle.html">TCPPlotStyle</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPGraph.TCPGraphList.html#AssignDefaultInterval">AssignDefaultInterval</a></b>;</code></td>
</tr>
</table>
<a name="%40Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#Graphs">Graphs</a></b>[Index: Integer]: <a   href="CPGraph.TCPGraph.html">TCPGraph</a> read GetGraphs
      write SetGraphs;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#ColorPalette">ColorPalette</a></b>: <a   href="CPGraph.TCPColorPalette.html">TCPColorPalette</a> read FColorPalette;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#FastPreview">FastPreview</a></b>: Boolean read FFastPreview write SetFastPreview;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#View">View</a></b>: <a   href="CPView.TCPView.html">TCPView</a> read FView write SetView;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#DefaultIntervalLeft">DefaultIntervalLeft</a></b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDefaultIntervalLeft
      write FDefaultIntervalLeft;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPGraph.TCPGraphList.html#DefaultIntervalRight">DefaultIntervalRight</a></b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDefaultIntervalRight
      write FDefaultIntervalRight;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GraphListChanged"></a><code>procedure <b>GraphListChanged</b>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Is called, when a graph or the graph order in the list is changed</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(View: <a   href="CPView.TCPView.html">TCPView</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Creates a new graph list. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>View</dt>
<dd>Referenced plotter view</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AssignGraphs"></a><code>procedure <b>AssignGraphs</b>(AGraphs: <a   href="CPGraph.TCPGraphList.html">TCPGraphList</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Copies all graphs from another graph list to this instance.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GetGraphNearPoint"></a><code>function <b>GetGraphNearPoint</b>(Position: <a   href="CPBase.html#TCPPoint">TCPPoint</a>): <a   href="CPGraph.TCPGraph.html">TCPGraph</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Tests if a function graph in the coordinate system lies near the specified point. A function graph is considered &quot;near&quot;, when the distance is smaller than a specified value in canvas units.   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Position</dt>
<dd>Point in canvas units.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">The nearest function graph or nil, when there is no function within the radius of the specified point.</p><h6 class="description_section">See also</h6>
<dl class="see_also">
  <dt><a class="normal"  href="CPGraph.TCPGraph.html#IsPointNear">TCPGraph.IsPointNear</a></dt>
  <dd>Checks if the shape of the function graph is located near the specified point.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Add"></a><code>function <b>Add</b>(Caption: string; PlotFunction: <a   href="CPGraph.html#TCPPlotFunction">TCPPlotFunction</a>): <a   href="CPGraph.TCPGraph.html">TCPGraph</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Adds a new graph to the graph list.  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Caption</dt>
<dd>Caption of graph</dd>
<dt>PlotFunction</dt>
<dd>Pointer to function that is plotted</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Draw"></a><code>procedure <b>Draw</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws all graphs into the coordinate system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="InvalidateGraphShapes"></a><code>procedure <b>InvalidateGraphShapes</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Marks the shape of each graph as invalid. This results in a rebuild of the internal graph point cache with the next drawing call.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PlotStyleUpdated"></a><code>procedure <b>PlotStyleUpdated</b>(const PlotStyle: <a   href="CPBase.TCPPlotStyle.html">TCPPlotStyle</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Updates color palette on style changes of the plotter control</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AssignDefaultInterval"></a><code>procedure <b>AssignDefaultInterval</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Assigns to all graphs the default interval settings</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Graphs"></a><code>property <b>Graphs</b>[Index: Integer]: <a   href="CPGraph.TCPGraph.html">TCPGraph</a> read GetGraphs
      write SetGraphs;</code></td>
</tr>
<tr><td colspan="2">
<p>
Function graphs of the graph list</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ColorPalette"></a><code>property <b>ColorPalette</b>: <a   href="CPGraph.TCPColorPalette.html">TCPColorPalette</a> read FColorPalette;</code></td>
</tr>
<tr><td colspan="2">
<p>
Color palette that assings each graph a unique color</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FastPreview"></a><code>property <b>FastPreview</b>: Boolean read FFastPreview write SetFastPreview;</code></td>
</tr>
<tr><td colspan="2">
<p>
If enabled, graphs will be drawn with a step size of 8 canvas units</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="View"></a><code>property <b>View</b>: <a   href="CPView.TCPView.html">TCPView</a> read FView write SetView;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets the view</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="DefaultIntervalLeft"></a><code>property <b>DefaultIntervalLeft</b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDefaultIntervalLeft
      write FDefaultIntervalLeft;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets the default left border of the interval, in which graphs are visible. If set to -Inf, the interval will have no bound to the left direction.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="DefaultIntervalRight"></a><code>property <b>DefaultIntervalRight</b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDefaultIntervalRight
      write FDefaultIntervalRight;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets the default right border of the interval, in which graphs are visible. If set to -Inf, the interval will have no bound to the right direction.</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-07-25 15:33:03</em>
</span>
</body></html>
